package com.chinasoft.hello;

public class MyMath {
    /**
     * Adds two integers.
     * <p>
     * This method takes two integer parameters and returns their sum. It is a fundamental arithmetic operation
     * that demonstrates how to perform addition in Java. This method is static, allowing it to be called without
     * instantiating the class it belongs to.
     *
     * @param a The first integer to be added.
     * @param b The second integer to be added.
     * @return The sum of a and b.
     */
    public static int add(int a, int b) {
        return a + b;
    }
}
